12#ifndef ROC_PACKET_ROUTER_H_
13#define ROC_PACKET_ROUTER_H_
Memory allocator interface.
Base class for non-copyable objects.
Route packets to writers.
bool add_route(IWriter &writer, unsigned flags)
Add route.
Router(core::IAllocator &allocator, size_t max_routes)
Initialize.
virtual void write(const PacketPtr &packet)
Write next packet.
bool valid() const
Check if object is successfully constructed.
Memory allocator interface.
uint32_t source_t
Packet source ID identifying packet stream.
Commonly used types and functions.